package com.yingxin.yxerp.module.inform.entity.builder;

import cn.hutool.core.bean.BeanUtil;
import com.yingxin.yxerp.module.inform.entity.UserNotice;
import com.yingxin.yxerp.module.inform.vo.req.UserNoticeCreateVo;

/**
 * 通知公告用户是否已读 builder
 * @author uuebao
 * @since 2024-01-04
 */

public class UserNoticeBuilder {

    /**
     * build
     */
    public static UserNotice build(UserNoticeCreateVo vo) {
        UserNotice userNotice = new UserNotice();
        BeanUtil.copyProperties(vo, userNotice);
        return userNotice;
    }

}
